package com.weaver.drools.common.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import java.util.Set;


/**
 * The persistent class for the E_AQ_INS_INPECTIONPANDECT_599 database table.
 * 
 */
@Entity
@Table(name="E_AQ_INS_INPECTIONPANDECT_599")
public class EAqInsInpectionpandect599 implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="E_AQ_INS_INPECTIONPANDECT_599_INPECTIONPANDECTID_GENERATOR",sequenceName="SE_E_AQ_INS_INPECTION_599",allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="E_AQ_INS_INPECTIONPANDECT_599_INPECTIONPANDECTID_GENERATOR")
	private Long inpectionpandectid;

	private Long bptypeid;

	private Long currentinquirystatus;

	private Long currentshowstatus;

	private Long datastatusid;

	private Long datatypeid;

	private Long finishhdaccidentsum;

	private Long finishmajorhdaccidentsum;

	private Long foundhdaccidentsum;

	private Long foundmajorhdaccidentsum;

	private Long isarchived;

	private Long isbpover;

	private Long isdeleted;

	private Long isendnode;

	private Long isenternextbp;

	private Long islaunchinquiryinreview;

	private Long ismarkpor;

	private Long isneedrectification;

	private Long isneedreview;

	private Long isneedtransfer;

	private Long isneedtreatmentmeasure;

	private Long isneedtreatmentmeasuretograve;

	private Long isparallerpor;

	private Long isrecordedrectification;

	private Long isrecordedtmeasuretograve;

	private Long isrecordedtreatmentmeasure;

	private Long isrecordinquiry;

	private Long isrecordpor;

	private Long lastfoundhdaccidentsum;

	private Long lastfoundmajorhdaccidentsum;

	private Long lastunfinishhdaccidentsum;

	private Long lastunfinishmajorhdaccidentsum;

	@Temporal(TemporalType.DATE)
	private Date latestoperatetime;

	private Long latestoperateuserid;

	private Long localefinishhdaccidentsum;

	private Long lplanfinishmajorhdaccidentsum;

	private Long markportype;

	private Long planfinishmajorhdaccidentsum;

	private Long remainunfinishhdaccidentsum;

	@Temporal(TemporalType.DATE)
	private Date reportdate;

	@Column(name="RESERVED_1")
	private String reserved1;

	@Column(name="RESERVED_2")
	private String reserved2;

	@Column(name="RESERVED_3")
	private String reserved3;

	private Long runfinishmajorhdaccidentsum;

	private Long superviseviewtypeid;

	private Long treatmentmeasuretype;

	private Long unfinishhdaccidentsum;

	private Long unfinishmajorhdaccidentsum;

	private Long userid;

	//bi-directional many-to-one association to EAqInsInpectionpandect599
	@ManyToOne
	@JoinColumn(name="P_INPECTIONPANDECTID")
	private EAqInsInpectionpandect599 EAqInsInpectionpandect599;

	//bi-directional many-to-one association to EAqInsInpectionpandect599
	@OneToMany(mappedBy="EAqInsInpectionpandect599")
	private Set<EAqInsInpectionpandect599> EAqInsInpectionpandect599s;

	//bi-directional many-to-one association to EAqInsInquiryrecord162
	@OneToMany(mappedBy="EAqInsInpectionpandect599")
	private Set<EAqInsInquiryrecord162> EAqInsInquiryrecord162s;

	//bi-directional many-to-one association to EAqInsReview125
	@OneToMany(mappedBy="EAqInsInpectionpandect599")
	private Set<EAqInsReview125> EAqInsReview125s;

	@ManyToOne
	@JoinColumn(name="INPECTIONID")
	private EAqInsInpection124 EAqInsInpection124;
	
	public EAqInsInpectionpandect599() {
	}

	public Long getInpectionpandectid() {
		return this.inpectionpandectid;
	}

	public void setInpectionpandectid(Long inpectionpandectid) {
		this.inpectionpandectid = inpectionpandectid;
	}

	public Long getBptypeid() {
		return this.bptypeid;
	}

	public void setBptypeid(Long bptypeid) {
		this.bptypeid = bptypeid;
	}

	public Long getCurrentinquirystatus() {
		return this.currentinquirystatus;
	}

	public void setCurrentinquirystatus(Long currentinquirystatus) {
		this.currentinquirystatus = currentinquirystatus;
	}

	public Long getCurrentshowstatus() {
		return this.currentshowstatus;
	}

	public void setCurrentshowstatus(Long currentshowstatus) {
		this.currentshowstatus = currentshowstatus;
	}

	public Long getDatastatusid() {
		return this.datastatusid;
	}

	public void setDatastatusid(Long datastatusid) {
		this.datastatusid = datastatusid;
	}

	public Long getDatatypeid() {
		return this.datatypeid;
	}

	public void setDatatypeid(Long datatypeid) {
		this.datatypeid = datatypeid;
	}

	public Long getFinishhdaccidentsum() {
		return this.finishhdaccidentsum;
	}

	public void setFinishhdaccidentsum(Long finishhdaccidentsum) {
		this.finishhdaccidentsum = finishhdaccidentsum;
	}

	public Long getFinishmajorhdaccidentsum() {
		return this.finishmajorhdaccidentsum;
	}

	public void setFinishmajorhdaccidentsum(Long finishmajorhdaccidentsum) {
		this.finishmajorhdaccidentsum = finishmajorhdaccidentsum;
	}

	public Long getFoundhdaccidentsum() {
		return this.foundhdaccidentsum;
	}

	public void setFoundhdaccidentsum(Long foundhdaccidentsum) {
		this.foundhdaccidentsum = foundhdaccidentsum;
	}

	public Long getFoundmajorhdaccidentsum() {
		return this.foundmajorhdaccidentsum;
	}

	public void setFoundmajorhdaccidentsum(Long foundmajorhdaccidentsum) {
		this.foundmajorhdaccidentsum = foundmajorhdaccidentsum;
	}

	public Long getIsarchived() {
		return this.isarchived;
	}

	public void setIsarchived(Long isarchived) {
		this.isarchived = isarchived;
	}

	public Long getIsbpover() {
		return this.isbpover;
	}

	public void setIsbpover(Long isbpover) {
		this.isbpover = isbpover;
	}

	public Long getIsdeleted() {
		return this.isdeleted;
	}

	public void setIsdeleted(Long isdeleted) {
		this.isdeleted = isdeleted;
	}

	public Long getIsendnode() {
		return this.isendnode;
	}

	public void setIsendnode(Long isendnode) {
		this.isendnode = isendnode;
	}

	public Long getIsenternextbp() {
		return this.isenternextbp;
	}

	public void setIsenternextbp(Long isenternextbp) {
		this.isenternextbp = isenternextbp;
	}

	public Long getIslaunchinquiryinreview() {
		return this.islaunchinquiryinreview;
	}

	public void setIslaunchinquiryinreview(Long islaunchinquiryinreview) {
		this.islaunchinquiryinreview = islaunchinquiryinreview;
	}

	public Long getIsmarkpor() {
		return this.ismarkpor;
	}

	public void setIsmarkpor(Long ismarkpor) {
		this.ismarkpor = ismarkpor;
	}

	public Long getIsneedrectification() {
		return this.isneedrectification;
	}

	public void setIsneedrectification(Long isneedrectification) {
		this.isneedrectification = isneedrectification;
	}

	public Long getIsneedreview() {
		return this.isneedreview;
	}

	public void setIsneedreview(Long isneedreview) {
		this.isneedreview = isneedreview;
	}

	public Long getIsneedtransfer() {
		return this.isneedtransfer;
	}

	public void setIsneedtransfer(Long isneedtransfer) {
		this.isneedtransfer = isneedtransfer;
	}

	public Long getIsneedtreatmentmeasure() {
		return this.isneedtreatmentmeasure;
	}

	public void setIsneedtreatmentmeasure(Long isneedtreatmentmeasure) {
		this.isneedtreatmentmeasure = isneedtreatmentmeasure;
	}

	public Long getIsneedtreatmentmeasuretograve() {
		return this.isneedtreatmentmeasuretograve;
	}

	public void setIsneedtreatmentmeasuretograve(Long isneedtreatmentmeasuretograve) {
		this.isneedtreatmentmeasuretograve = isneedtreatmentmeasuretograve;
	}

	public Long getIsparallerpor() {
		return this.isparallerpor;
	}

	public void setIsparallerpor(Long isparallerpor) {
		this.isparallerpor = isparallerpor;
	}

	public Long getIsrecordedrectification() {
		return this.isrecordedrectification;
	}

	public void setIsrecordedrectification(Long isrecordedrectification) {
		this.isrecordedrectification = isrecordedrectification;
	}

	public Long getIsrecordedtmeasuretograve() {
		return this.isrecordedtmeasuretograve;
	}

	public void setIsrecordedtmeasuretograve(Long isrecordedtmeasuretograve) {
		this.isrecordedtmeasuretograve = isrecordedtmeasuretograve;
	}

	public Long getIsrecordedtreatmentmeasure() {
		return this.isrecordedtreatmentmeasure;
	}

	public void setIsrecordedtreatmentmeasure(Long isrecordedtreatmentmeasure) {
		this.isrecordedtreatmentmeasure = isrecordedtreatmentmeasure;
	}

	public Long getIsrecordinquiry() {
		return this.isrecordinquiry;
	}

	public void setIsrecordinquiry(Long isrecordinquiry) {
		this.isrecordinquiry = isrecordinquiry;
	}

	public Long getIsrecordpor() {
		return this.isrecordpor;
	}

	public void setIsrecordpor(Long isrecordpor) {
		this.isrecordpor = isrecordpor;
	}

	public Long getLastfoundhdaccidentsum() {
		return this.lastfoundhdaccidentsum;
	}

	public void setLastfoundhdaccidentsum(Long lastfoundhdaccidentsum) {
		this.lastfoundhdaccidentsum = lastfoundhdaccidentsum;
	}

	public Long getLastfoundmajorhdaccidentsum() {
		return this.lastfoundmajorhdaccidentsum;
	}

	public void setLastfoundmajorhdaccidentsum(Long lastfoundmajorhdaccidentsum) {
		this.lastfoundmajorhdaccidentsum = lastfoundmajorhdaccidentsum;
	}

	public Long getLastunfinishhdaccidentsum() {
		return this.lastunfinishhdaccidentsum;
	}

	public void setLastunfinishhdaccidentsum(Long lastunfinishhdaccidentsum) {
		this.lastunfinishhdaccidentsum = lastunfinishhdaccidentsum;
	}

	public Long getLastunfinishmajorhdaccidentsum() {
		return this.lastunfinishmajorhdaccidentsum;
	}

	public void setLastunfinishmajorhdaccidentsum(Long lastunfinishmajorhdaccidentsum) {
		this.lastunfinishmajorhdaccidentsum = lastunfinishmajorhdaccidentsum;
	}

	public Date getLatestoperatetime() {
		return this.latestoperatetime;
	}

	public void setLatestoperatetime(Date latestoperatetime) {
		this.latestoperatetime = latestoperatetime;
	}

	public Long getLatestoperateuserid() {
		return this.latestoperateuserid;
	}

	public void setLatestoperateuserid(Long latestoperateuserid) {
		this.latestoperateuserid = latestoperateuserid;
	}

	public Long getLocalefinishhdaccidentsum() {
		return this.localefinishhdaccidentsum;
	}

	public void setLocalefinishhdaccidentsum(Long localefinishhdaccidentsum) {
		this.localefinishhdaccidentsum = localefinishhdaccidentsum;
	}

	public Long getLplanfinishmajorhdaccidentsum() {
		return this.lplanfinishmajorhdaccidentsum;
	}

	public void setLplanfinishmajorhdaccidentsum(Long lplanfinishmajorhdaccidentsum) {
		this.lplanfinishmajorhdaccidentsum = lplanfinishmajorhdaccidentsum;
	}

	public Long getMarkportype() {
		return this.markportype;
	}

	public void setMarkportype(Long markportype) {
		this.markportype = markportype;
	}

	public Long getPlanfinishmajorhdaccidentsum() {
		return this.planfinishmajorhdaccidentsum;
	}

	public void setPlanfinishmajorhdaccidentsum(Long planfinishmajorhdaccidentsum) {
		this.planfinishmajorhdaccidentsum = planfinishmajorhdaccidentsum;
	}

	public Long getRemainunfinishhdaccidentsum() {
		return this.remainunfinishhdaccidentsum;
	}

	public void setRemainunfinishhdaccidentsum(Long remainunfinishhdaccidentsum) {
		this.remainunfinishhdaccidentsum = remainunfinishhdaccidentsum;
	}

	public Date getReportdate() {
		return this.reportdate;
	}

	public void setReportdate(Date reportdate) {
		this.reportdate = reportdate;
	}

	public String getReserved1() {
		return this.reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return this.reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

	public String getReserved3() {
		return this.reserved3;
	}

	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}

	public Long getRunfinishmajorhdaccidentsum() {
		return this.runfinishmajorhdaccidentsum;
	}

	public void setRunfinishmajorhdaccidentsum(Long runfinishmajorhdaccidentsum) {
		this.runfinishmajorhdaccidentsum = runfinishmajorhdaccidentsum;
	}

	public Long getSuperviseviewtypeid() {
		return this.superviseviewtypeid;
	}

	public void setSuperviseviewtypeid(Long superviseviewtypeid) {
		this.superviseviewtypeid = superviseviewtypeid;
	}

	public Long getTreatmentmeasuretype() {
		return this.treatmentmeasuretype;
	}

	public void setTreatmentmeasuretype(Long treatmentmeasuretype) {
		this.treatmentmeasuretype = treatmentmeasuretype;
	}

	public Long getUnfinishhdaccidentsum() {
		return this.unfinishhdaccidentsum;
	}

	public void setUnfinishhdaccidentsum(Long unfinishhdaccidentsum) {
		this.unfinishhdaccidentsum = unfinishhdaccidentsum;
	}

	public Long getUnfinishmajorhdaccidentsum() {
		return this.unfinishmajorhdaccidentsum;
	}

	public void setUnfinishmajorhdaccidentsum(Long unfinishmajorhdaccidentsum) {
		this.unfinishmajorhdaccidentsum = unfinishmajorhdaccidentsum;
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public EAqInsInpectionpandect599 getEAqInsInpectionpandect599() {
		return this.EAqInsInpectionpandect599;
	}

	public void setEAqInsInpectionpandect599(EAqInsInpectionpandect599 EAqInsInpectionpandect599) {
		this.EAqInsInpectionpandect599 = EAqInsInpectionpandect599;
	}

	public Set<EAqInsInpectionpandect599> getEAqInsInpectionpandect599s() {
		return this.EAqInsInpectionpandect599s;
	}

	public void setEAqInsInpectionpandect599s(Set<EAqInsInpectionpandect599> EAqInsInpectionpandect599s) {
		this.EAqInsInpectionpandect599s = EAqInsInpectionpandect599s;
	}

	public EAqInsInpectionpandect599 addEAqInsInpectionpandect599(EAqInsInpectionpandect599 EAqInsInpectionpandect599) {
		getEAqInsInpectionpandect599s().add(EAqInsInpectionpandect599);
		EAqInsInpectionpandect599.setEAqInsInpectionpandect599(this);

		return EAqInsInpectionpandect599;
	}

	public EAqInsInpectionpandect599 removeEAqInsInpectionpandect599(EAqInsInpectionpandect599 EAqInsInpectionpandect599) {
		getEAqInsInpectionpandect599s().remove(EAqInsInpectionpandect599);
		EAqInsInpectionpandect599.setEAqInsInpectionpandect599(null);

		return EAqInsInpectionpandect599;
	}

	public Set<EAqInsInquiryrecord162> getEAqInsInquiryrecord162s() {
		return this.EAqInsInquiryrecord162s;
	}

	public void setEAqInsInquiryrecord162s(Set<EAqInsInquiryrecord162> EAqInsInquiryrecord162s) {
		this.EAqInsInquiryrecord162s = EAqInsInquiryrecord162s;
	}

	public EAqInsInquiryrecord162 addEAqInsInquiryrecord162(EAqInsInquiryrecord162 EAqInsInquiryrecord162) {
		getEAqInsInquiryrecord162s().add(EAqInsInquiryrecord162);
		EAqInsInquiryrecord162.setEAqInsInpectionpandect599(this);

		return EAqInsInquiryrecord162;
	}

	public EAqInsInquiryrecord162 removeEAqInsInquiryrecord162(EAqInsInquiryrecord162 EAqInsInquiryrecord162) {
		getEAqInsInquiryrecord162s().remove(EAqInsInquiryrecord162);
		EAqInsInquiryrecord162.setEAqInsInpectionpandect599(null);

		return EAqInsInquiryrecord162;
	}

	public Set<EAqInsReview125> getEAqInsReview125s() {
		return this.EAqInsReview125s;
	}

	public void setEAqInsReview125s(Set<EAqInsReview125> EAqInsReview125s) {
		this.EAqInsReview125s = EAqInsReview125s;
	}

	public EAqInsReview125 addEAqInsReview125(EAqInsReview125 EAqInsReview125) {
		getEAqInsReview125s().add(EAqInsReview125);
		EAqInsReview125.setEAqInsInpectionpandect599(this);

		return EAqInsReview125;
	}

	public EAqInsReview125 removeEAqInsReview125(EAqInsReview125 EAqInsReview125) {
		getEAqInsReview125s().remove(EAqInsReview125);
		EAqInsReview125.setEAqInsInpectionpandect599(null);

		return EAqInsReview125;
	}

	public EAqInsInpection124 getEAqInsInpection124() {
		return EAqInsInpection124;
	}

	public void setEAqInsInpection124(EAqInsInpection124 eAqInsInpection124) {
		EAqInsInpection124 = eAqInsInpection124;
	}

}